/*********************************************************************
* Copyright (c) 2023 Contributors to the Eclipse Foundation.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
*   Kentyou - initial implementation
**********************************************************************/
package org.eclipse.sensinact.filters.ldap.antlr.impl;

/**
 * List of LDAP comparators
 */
public enum LdapComparator {

    EQUAL("="),
    APPROX("~="),
    GREATER_EQ(">="),
    LESS_EQ("<=");

    private final String strComparator;

    private LdapComparator(final String strComparator) {
        this.strComparator = strComparator;
    }

    @Override
    public String toString() {
        return strComparator;
    }
}
